home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Targeting objects in scripts < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  897 b   |  [TEXT/ttxt]

  1. Subject:     Targeting objects in scripts
  2. Sent:        6/13/96 8:48 AM
  3. Received:    6/13/96 9:12 AM
  4. From:        Scott Daniels, scottdfl@sprynet.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Hi,
  9.  
  10. I am fairly new to scripting, so please forgive any ignorance I may show. My question is this: I have been told that one can write a script like: 
  11.  
  12. Set Position of Shape whose Color is {0,0,0} to {50,25}
  13.  
  14. In this script, the shape is specified via its color property. Upon examination of FWMScriptable however, I can only specify elements by index et. al. and the name property only. Does the OpenDoc scripting archictecture support object specification by any object property? If it does, then do I need to override GetContainedObject in order to resolve objects by properties other than name?
  15.  
  16. Thanks,
  17. Scott
  18.